﻿namespace SDCloudSolution.SDCloud.Entities.Identity.OAuth
{
    /// <summary>
    /// The application type.
    /// </summary>
    public enum ApplicationType
    {
        /// <summary>
        ///     Application with full permissions and not related to specified person 
        ///         (The person idenfier specified by each request with special parameter). 
        ///     This application type should be used only for internal services. 
        ///     Column UserId for this application should be has value is 0.
        /// </summary>
        Trusted = 1,

        /// <summary>
        ///     Application that related to specified person, that stored in UserId column.
        /// </summary>
        Personalized = 2,

        /// <summary>
        ///     Used for 3rd-party applications.
        /// </summary>
        Public = 3
    }
}
